package com.bean.activiti.entity;

import org.activiti.engine.impl.persistence.entity.GroupEntity;
//public class ActivitiGroup{}

public class ActivitiGroup implements GroupEntity {

    private SysRole sysRole;

    public SysRole getSysRole() {
        return sysRole;
    }

    public void setSysRole(SysRole sysRole) {
        this.sysRole = sysRole;
    }

    @Override
    public String getId() {
        return this.sysRole.getRoleName();
    }

    @Override
    public void setId(String s) {

    }

    @Override
    public boolean isInserted() {
        return false;
    }

    @Override
    public void setInserted(boolean b) {

    }

    @Override
    public boolean isUpdated() {
        return false;
    }

    @Override
    public void setUpdated(boolean b) {

    }

    @Override
    public boolean isDeleted() {
        return false;
    }

    @Override
    public void setDeleted(boolean b) {

    }

    @Override
    public Object getPersistentState() {
        return null;
    }

    @Override
    public String getName() {
        return this.sysRole.getRemark();
    }

    @Override
    public void setName(String s) {

    }

    @Override
    public String getType() {
        return null;
    }

    @Override
    public void setType(String s) {

    }

    @Override
    public void setRevision(int i) {

    }

    @Override
    public int getRevision() {
        return 0;
    }

    @Override
    public int getRevisionNext() {
        return 0;
    }
}
